package com.syxp.pda.core.xls;

import com.syxp.pda.core.Content;

public class TitleInfoFactory {

	public TitleInfoBean createTitle(String type){
		if(type.equals("PLAN")){
			return new TitleInfoBean(Content.PLANTITLEINFO,"计划查询") ;
		}else if(type.equals("ARRIVE")){
			return new TitleInfoBean(Content.ARRIVETITLEINFO,"日常巡检到位统计") ;
		}else if(type.equals("WORK")){
			return new TitleInfoBean(Content.WORKTITLEINFO,"日常巡检工作量统计") ;
		}else if(type.equals("DETAIL")){
			return new TitleInfoBean(Content.DETIALTITLEINFO,"实际查询") ;
		}else {
			return new TitleInfoBean(Content.ACCESSTITLEINFO,"日常巡检考核统计") ;
		}
	}
}
